<xsl:stylesheet version="1.1"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:our="http://www.ouroboroswiki.com/ext">

  <xsl:output method="xml" indent="yes" />

  <xsl:param name="wiki-base" />
  <xsl:param name="input-mime-type">text/plain</xsl:param>
  <xsl:param name="input-path"/>
  <xsl:param name="input-repo"/>
  <xsl:param name="input-editable">false</xsl:param>
  <xsl:param name="original-pipe"><xsl:value-of select="$input-repo"/></xsl:param>
  <xsl:param name="CKEditorFuncNum"/>

  <xsl:template match="/">
    <div>
      <xsl:apply-templates select="content/original/contentGroups/contentGroup"/>
    </div>
  </xsl:template>
  
  <xsl:template match="contentGroup">
      <table>
        <xsl:for-each select="content">
          <tr>
            <td>
                <our:ckcallback repo="view" path="{@id}" callbackid="{$CKEditorFuncNum}">
                	<xsl:value-of select="@id"/>.view
				</our:ckcallback>            
            </td>
          </tr>
        </xsl:for-each>
      </table>
  </xsl:template>

</xsl:stylesheet>